//----auto get horde detail----------
//----see view_horde_detail.ftl for <div id="ssid">${ssid}</div> to get ssid
$(function () {
		var ssid = $("#ssid").text();
		var sgid = $("#sgid").text();
		$.ajax({type:"GET", dataType:"html", url:"ajaxgetstoredetail.jsp?ssid="+ssid+"&sgid="+sgid, 
			success:function (html) {
				html = $.trim(html);
				if (html) {
					$("#ajaxcontentholder").html(html);
				}
			}, 
			complete:function () {
				$("#storelatestcouponbannerarea").html($("#storelatestcouponbannerarea_content").html());
				$("#recommendproductarea").html($("#recommendproductarea_content").html());
				$("#storenavigationarea").html($("#storenavigationarea_content").html());
				$("#storeproductarea").append($("#storeproductarea_content").html()).slideDown("slow");
				$("#storeservantarea").append($("#storeservantarea_content").html());
				$("#ajaxcontentholder").empty();
			}
		});
		
});